<?php
namespace app\index\controller;

use app\common\lib\ali\Sms;
use Exception;

class Index
{
    public function index()
    {
        return '';
    }

    public function aa()
    {
        echo 88855111225588;
    }

    public function hello($name = 'ThinkPHP5')
    {
        return 'hello,' . $name;
    }

    public function sms()
    {
        try {
            Sms::sendSms('13312341234','12345');
        }catch (Exception $e){
            echo $e->getMessage();
        }
    }
}
